package com.bitgate.util.soap;

import java.util.List;

public class Test
{
	public static void main(String[] args)
	{
		Class<?> ta1 = null;
		
		try {
			ta1 = Class.forName("com.bitgate.util.soap.TestAnnotation1");
		} catch(Exception e) {
			System.err.println("Unable to load TestAnnotation1.class: " + e.getClass().getName());
			return;
		}
		
		SoapQuery sQuery = new SoapQuery();
		List<String> annotatedEntries = null;
		
		try {
			annotatedEntries = sQuery.getPublishedObjects(ta1);
		} catch (SoapException e) {
			e.printStackTrace();
			return;
		}
		
		for(String entry : annotatedEntries) {
			System.err.println("Soap entry point '" + entry + "'");
		}
	}
}